# Case 04 -A Sound-controlled Dog ## Purpose --- Program to control the movement of XGO through the sound level. ## Materials Required --- 1 × micro:bit XGO Robot Kit ***Note:*** A micro:bit V2.0 and above is required in this project. ## Hardware Connections --- Connect the micro:bit with the computer. ![](./images/microbit-xgo-robot-kit-22.png) ## Software Platform --- [Makecode](https://makecode.microbit.org/#) ![](./images/microbit-xgo-robot-kit-10.png) ## Program --- Add the XGO extensions. ![](./images/microbit-xgo-robot-kit-11.png) ![](./images/microbit-xgo-robot-kit-12.png) ![](./images/microbit-xgo-robot-kit-13.png) ![](./images/microbit-xgo-robot-kit-14.png) ## Program --- ### Code ![](./images/microbit-xgot-robot-kit-case01-out-of-the-square-04.png) Link: [A Sound-controlled Dog](https://makecode.microbit.org/_Wx4Ao1aCadYH) You can also download it directly below:
## FAQ --- If XGO doesn't move, please try increasing the sound level. ## Exploration --- How to give more commands to XGO with different sound level ?